
import axiosData from "@/api/axios";

export default {
  /**
   * @description: 获取设备模板列表 *代表必填
   * @param {String/Number} page *
   * @param {String/Number} size *
   * @param {Object} entity {} *
   * @return {Array}
   */
  queryPageList(params) {
    return axiosData.post("/v3/agricultural-equipment/v1/equModelTemplate/queryPageList", params);
  },
  /**
   * @description: 新增设备模板
   * @param {Object} params *
   * @return {Object}
   */
  add(params) {
    return axiosData.post("/v3/agricultural-equipment/v1/equModelTemplate/add", params);
  },
  /**
     * @description: 编辑设备模板
     * @param {Object} params *
     * @return {Object}
     */
  edit(params) {
    return axiosData.post("/v3/agricultural-equipment/v1/equModelTemplate/edit", params);
  },
  /**
     * @description: 批量删除设备模板
     * @param {Object} params *
     * @return {Object}
     */
  delList(params) {
    return axiosData.post("/v3/agricultural-equipment/v1/equModelTemplate/deleteBatch", params);
  }
};
